package itsm.isperp.framework.data.mybatis.mapping;

import org.apache.ibatis.mapping.BoundSql;
import org.apache.ibatis.mapping.SqlSource;

/**
 * 属于Mybatis中的绑定的sql源
 * 
 * @author lizx
 * @date 2013-1-16
 * @version V1.0
 */
public final class BoundSqlSqlSource implements SqlSource {

	BoundSql boundSql;

	public BoundSqlSqlSource(BoundSql boundSql) {
		this.boundSql = boundSql;
	}

	@Override
	public BoundSql getBoundSql(Object parameterObject) {
		return boundSql;
	}
}
